<?php
/* @var $this ProductController */
/* @var $model Product */
/* @var $form CActiveForm */
?>

<div class="wide form">

    <?php $form = $this->beginWidget('CActiveForm', array(
        'action' => Yii::app()->createUrl($this->route),
        'method' => 'get',
    )); ?>

    <div class=" control-group">
        <?php echo $form->label($model, 'product_id'); ?>
        <?php echo $form->textField($model, 'product_id'); ?>
    </div>

    <div class=" control-group">
        <?php echo $form->label($model, 'product_name'); ?>
        <?php echo $form->textField($model, 'product_name', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class=" control-group">
        <?php echo CHtml::submitButton('Search', array('class' => 'btn btn-default')); ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- search-form -->